<template>
	<view class="jCenter column" style="height: 100vh;">
		<view class="content" @click="ToPage('/pagesIndex/postInformation/postInformation')">
			发布公告信息
		</view>
		<view class="content" style="margin-top: 100rpx;" @click="ToPage('/pagesIndex/permission/permission')">
			分配权限信息
		</view>
		<view class="content" style="margin-top: 100rpx;" @click="handleLogOut">
			注销登录
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			handleLogOut() {
				this.$store.commit('setToken', '')
				
				uni.reLaunch({
					url: '/pages/login/index'
				})
			},
		}
	}
</script>

<style scoped lang="scss">
.content {
	width: 600rpx;
	height: 300rpx;
	color: #FFF;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 16rpx;
	background-color: #69AFF0;
	color: #FFF;
	margin:  0 auto;
}
</style>
